package cn.youth996.springcloud.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Zhan Xinjian
 * @date 2021/4/18
 */
@FeignClient("EUREKA-PROVIDER-PAYMENT")
@Component
public interface OpenFeignService {
    @GetMapping("eureka/payment/get")
    public String get();

    @GetMapping("/eureka/payment/timeOut")
    public String timeOut();
}
